package top.xmj.service;

import org.springframework.stereotype.Service;

/**
 * 邮件业务类
 * @author qzz
 */
@Service
public interface IMailService {
    /**
     * 检测邮件信息类
     * @param to
     * @param subject
     * @param text
     */
    public void checkMail(String to,String subject,String text);

    /**
     * 发送纯文本邮件
     * @param to
     */
    public String sendTextMailMessage(String to);

    /**
     * 发送HTML邮件
     * @param to
     */
    public String sendHTMlMailMessage(String to);


}

